﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Test3
{
    /// <summary>
    /// Class Subject
    /// <example Student ,, Manger ,, Teacher>
    /// </summary>
    class Subject
    {
        // private members

        private string name;
        private float mark;
        private bool status;

        // public Properities 

        public string Name
        {
            set { name = value; }
            get { return name; }
        }// end of prop Name
        
        public float Mark
        {
            set { mark = value; }
            get { return mark; }
        }// end of prop Mark
        
        public bool Status 
        { 
            get { return status; } 
        }// end of prop Status

        // overriding Methods 

        public override string ToString()
        {
            return name;
        }// end of ToString()
    }// end of subject class
}
